using System;

using System.Runtime.Serialization;
using MaLu.Data;

namespace Malu.Entity
{
 
    [Serializable]
    [DataContract(Name = "InputDataFileLog")]
    [Table("InputDataFileLog", Info = "")]
    public class InputDataFileLog : BaseEntity
    {
        [DataMember]
        [Column("id", DataType.Int32, Length = 4, CanNull = false, AutoIncrement = true, PrimaryKey = true)]
        public int id { get; set; }

        [DataMember]
        [Column("totalcount", DataType.Int32, Length = 4)]
        public int totalcount { get; set; }

        [DataMember]
        [Column("successcount", DataType.Int32, Length = 4)]
        public int successcount { get; set; }

        [DataMember]
        [Column("failcount", DataType.Int32, Length = 4)]
        public int failcount { get; set; }

        [DataMember]
        [Column("userid", DataType.GUID)]
        public Guid userid { get; set; }

        [DataMember]
        [Column("username", DataType.VarChar, Length = 50)]
        public string username { get; set; }

        [DataMember]
        [Column("userdisplayname", DataType.VarChar, Length = 50)]
        public string userdisplayname { get; set; }

        [DataMember]
        [Column("optime", DataType.DateTime)]
        public DateTime optime { get; set; }

        [DataMember]
        [Column("inputfilename", DataType.VarChar, Length = 200)]
        public string inputfilename { get; set; }

        [DataMember]
        [Column("inputoldfilename", DataType.VarChar, Length = 200)]
        public string inputoldfilename { get; set; }

        [DataMember]
        [Column("logfilename", DataType.VarChar, Length = 200)]
        public string logfilename { get; set; }

        [DataMember]
        [Column("inputdatatype", DataType.VarChar, Length = 50)]
        public string inputdatatype { get; set; }

        public InputDataFileLog()
        {
           
        }

    }
}
